package com.furtherstar.auth.controller.dto;

import java.util.Collections;
import java.util.List;

import com.yummy.web.security.bean.DefaultPermission;

public class AuthorizedResources {

	private List<AppResourceTree> navs;
	private List<DefaultPermission> permissions;
	public List<AppResourceTree> getNavs() {
		return navs;
	}
	public void setNavs(List<AppResourceTree> navs) {
		this.navs = navs;
	}
	public List<DefaultPermission> getPermissions() {
		return permissions;
	}
	public void setPermissions(List<DefaultPermission> permissions) {
		this.permissions = permissions;
	}
	public static AuthorizedResources empty() {
		AuthorizedResources ar = new AuthorizedResources();
		ar.setNavs(Collections.emptyList());
		ar.setPermissions(Collections.emptyList());
		return ar;
	}
}
